Fixed oversized menus allocated offscreen
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 21 Aug 2010 01:15:35 +0000 (21:15 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 21 Aug 2010 01:18:13 +0000 (21:18 -0400)
commit804c80097995bb0026544118a32b59e23ee2fbe3
treedcb35d300f4535f527891288f44c045bd1622bee
parent10ceb9da681029cc5374606aafd4af36687831c0
Fixed oversized menus allocated offscreen

Removed the old toplevel window size-request signal and
do the clamping in gtk_menu_get_height_for_width() instead,
also make sure to invalidate the size before doing a new
request just after invoking the delegate menu position func.
gtk/gtkmenu.c